package com.changgou.service.goods;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import tk.mybatis.spring.annotation.MapperScan;

@SpringBootApplication
@EnableEurekaClient  //这里不写服务名称，
// 是因为服务名称已经在application.yml核心配置文件中配置类

@MapperScan(basePackages = "com.changgou.service.goods.dao")
//这里可以先创建dao包，再使用Copy Reference
public class GoodsApplications {
	public static void main(String[] args) {
		SpringApplication.run(GoodsApplications.class,args);
	}
}
